program to print n natural numbers using for loop